﻿<Window x:Class="WindowSwitcher.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:WindowSwitcher"
        Title="WindowSwitcher" Height="450" Width="520" Icon="3d_Turquoise_Dofus_by_Strung.ico">
    <DockPanel Margin="0,0,0,0">

        <Grid DockPanel.Dock="Bottom" Margin="0,0,0,3">
            <CheckBox Name="DofusFilteringCheckBox" Content="Dofus Filtering" IsChecked="True"></CheckBox>
            <Button  Width="100" Click="RefreshButton_Click">Refresh</Button>
        </Grid>

        <ListBox DockPanel.Dock="Top" Name="VisualBindings">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <local:ListboxCustomItem CbxItemsSource1="{Binding BindingsCollection, RelativeSource={RelativeSource AncestorType={x:Type Window}}, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" CbxItemsSource2="{Binding EnableKeys, RelativeSource={RelativeSource AncestorType={x:Type Window}}, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"></local:ListboxCustomItem>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
    </DockPanel>
</Window>
